package org.demo.ui;

import java.awt.BorderLayout;

import javax.swing.JLabel;

public class AboutFrame extends BaseFrame{

	private static final long serialVersionUID = 3983965544780324561L;
	
	private final static String ABOUT = "<html>"
			+ "<body>"
			+ "Qualcomm Image Read Back Tool"
			+ "<br>"
			+ "<br>"
			+ "Version: 0.0.0.1"
			+ "<br>"
			+ "<br>"
			+ "Author: yiguochao@126.com"
			+ "<br>"
			+ "<br>"
			+ "Copyright ©2019 YiGuochao All Rights Reserved"
			+ "</body>"
			+ "</html>"; 

	public AboutFrame() {
		super();
		setTitle(TITLE_ABOUT);
		setSize(320, 240);
		setLocationRelativeTo(null);
		setVisible(true);
	}

	@Override
	protected void initLayout() {
		this.setLayout(new BorderLayout());
		JLabel about = new JLabel();
		about.setText(ABOUT);
		about.setHorizontalAlignment(JLabel.CENTER);
		about.setVerticalAlignment(JLabel.CENTER);
		this.add(about, "Center");
	}

}
